@import "@/theme.less";
.red-door{
  position: absolute;
  top:0;
  left:0;
  z-index: 2;
  height: 100%;
  perspective: 500px;
  #top{
    position: absolute;
    z-index: 1;
    top:0;
    left:-161px;
    width: 700px;
    height: 79%;
    background: red;
    border-radius: 0 0 350px 350px;
    transition: .2s;
    transform: translateY(0);
    overflow: hidden;
    &.opened{
      transform: translateY(-110%);
    }
    .content{
      position: relative;
      width: 375px;
      margin: 0 auto;
      height: 100%;
      background: url("../../../../../../assets/images/red-default-bg.jpg") no-repeat center center;
      background-size: cover;
      .owner-user{
        color: #fff;
        font-size: @font-min;
        text-align: center;
        padding-top: 40px;
        box-sizing: border-box;
        .header{
          width: 60px;
          height: 60px;
          display: block;
          margin: 0 auto;
          border-radius: 30px;
          vertical-align: middle;
          border:2px solid #fff;
          box-sizing: border-box;
        }
        .nickname{
          text-shadow: 3px 2px 3px #000;
          height: 30px;
          line-height: 30px;
        }
      }
      .title{
        height: 40px;
        line-height: 40px;
        text-align: center;
        color: @main-color1;
        font-size: @font-huge;
        font-weight: bold;
        text-shadow: 3px 2px 3px #000;
      }
    }
  }
  #bottom{
    position: absolute;
    z-index: 2;
    bottom: 0;
    width: 375px;
    height: 220px;
    background: url("../../../../../../assets/images/red-bottom.png");
    background-size: 100% 100%;
    transition: .2s;
    transform: translateY(0);
    &.opened{
      transform: translateY(110%);
    }
    .red-record{
      position: absolute;
      left:87.5px;
      bottom: 80px;
      width: 200px;
      height: 20px;
      text-align: center;
      color: @font-color1;
    }
  }
  #open-button{
    position: absolute;
    z-index: 3;
    left:152.5px;
    bottom: 125px;
    width: 70px;
    height: 70px;
    line-height: 70px;
    border-radius: 35px;
    background: @main-color3;
    text-align: center;
    font-size: 30px;
    font-weight: bold;
    &.not{
      transform: rotateY(0deg);
      transition: 0s;
    }
    &.opening{
      transform: rotateY(15000deg);
      transition: transform 30s linear;
    }
  }
}
